package com.zhubayi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author 祝八一
 */
@Data
@Table(name = "wn_video")
public class Video {
    private Integer id;
    private String title;
    private String url;
    private String cover;
    @Column(name = "user_id")
    private Integer userId;
    @Column(name = "category_id")
    private Integer categoryId;
    @Column(name = "pub_time")
    private String pubTime;
    @Column(name = "view_num")
    private Integer viewNum;
    @Column(name = "praise_num")
    private Integer praiseNum;
    @Column(name = "great_num")
    private Integer greatNum;
    private Boolean status;
}
